home *** CD-ROM | disk | FTP | other *** search
- type
- EXmlDError = class(Exception);
- EXmlDParseError = class(EXmlDError)
- FErrorCode: Integer;
- FReason: String;
- FSrcText: String;
- FLine: Integer;
- FLinePos: Integer;
- public
- constructor Create(ParseError: IXMLDOMParseError);
- property ErrorCode: Integer read FErrorCode;
- property Reason: String read FReason;
- property SrcText: String read FSrcText;
- property Line: Integer read FLine;
- property LinePos: Integer read FLinePos;
- end;
- constructor EXmlDParseError.Create(ParseError: IXMLDOMParseError);
- begin
- inherited Create('XML Parse Error');
- FErrorCode := ParseError.errorCode;
- FReason := ParseError.reason;
- FSrcText := ParseError.srcText;
- FLine := ParseError.line;
- FLinePos := ParseError.linePos;
- end;
-